package cn.e4j.modular.crm.mapper;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.GwbfT;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GwbfTMapper extends BaseMapper<GwbfT> {
    /**
     * 查询拜访内容列表
     */
    List<Map<String, Object>> getList(@Param("dto") Dto dto, @Param("page") Page<Object> page);

    /**
     * 获取组织列表
     */
    List<Map<String, Object>> getOrgsList(@Param("dto") Dto dto);

    GwbfT getByKey(@Param("ent") String ent, @Param("GWBF001") String GWBF001, @Param("GWBF002") String GWBF002);
}
